import Layout from "/@/layout/index.vue";

const awardRouter = {
  path: "/award",
  name: "award",
  component: Layout,
  redirect: "/award/list",
  meta: {
    icon: "el-icon-trophy",
    title: "message.hsaward",
    showLink: true,
    savedPosition: true,
    rank: 1
  },
  children: [
    {
      path: "/award/add",
      name: "addAward",
      component: () => import("../../views/award/add/index.vue"),
      meta: {
        title: "message.hsassaward",
        showLink: true,
        savedPosition: true
      }
    },
    {
      path: "/award/list",
      name: "listAward",
      component: () => import("../../views/award/list/index.vue"),
      meta: {
        title: "message.hslistaward",
        showLink: true,
        savedPosition: true
      }
    },
    {
      path: "/award/teacher/index",
      name: "/teacherAwardIndex",
      component: () => import("/@/views/award/teacher/index.vue"),
      meta: {
        title: "message.hsteacherawardindex",
        showLink: true,
        savedPosition: true
      }
    }
  ]
};
export default awardRouter;
